package cn.anxingongyou.anxin.service;

import cn.anxingongyou.anxin.entity.Taxi;
import com.github.pagehelper.PageInfo;

public interface TaxiService {

    int insert(Taxi taxi);
    int deleteByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(Taxi taxi);
    Taxi  selectOne(Taxi taxi);
    Taxi  selectOneByPrimaryKey(Long id);
    PageInfo<Taxi> page(int pageNum, int pageSize , Taxi taxi);
    PageInfo<Taxi> selectByTime(int pageNum, int pageSize , Taxi taxi);
}
